import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import '@/router/guards';
import store from './store';
import registerLocalComponent from '@/components';
import i18n from '@/i18n';
import '@/styles/index.scss'; // global css
import 'virtual:svg-icons-register'; // 引入注册脚本

const app = createApp(App);

app.use(store).use(router).use(i18n);

registerLocalComponent(app); // 注册本地全局公共组件

app.mount('#app');
